// src/redux/store.ts
import { configureStore } from "@reduxjs/toolkit";
import menuReducer from "./menuSlice";

// Define your RootState type by extracting the state type from the store
export type RootState = ReturnType<typeof store.getState>;

const store = configureStore({
  reducer: {
    menu: menuReducer,
  },
});

export default store;
